{extend name="/base" /}
{block name="main"}
<div class="page-wrapper">
        <div class="container-fluid">
            <div class="row page-titles">
                <div class="col-md-6 col-8 align-self-center">
                    <!-- <h3 class="text-themecolor m-b-0 m-t-0">Profile</h3> -->
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="javascript:void(0)">首页</a></li>
                        <li class="breadcrumb-item active">添加活动</li>
                    </ol>
                </div>
                <!-- <div class="col-md-6 col-4 align-self-center">
                    <a href="#" class="btn pull-right hidden-sm-down btn-success">Download Here</a>
                </div> -->
            </div>
            <div class="row">
               
                <!-- Column -->
                <!-- Column -->
                <div class="col-lg-8 col-xlg-9 col-md-7">
                    <div class="card">
                        <div class="card-block">
                            <form class="form-horizontal form-material" action="{:url('addactivity1')}" method="post" enctype="multipart/form-data">
                                <div class="form-group">
                                    <label class="col-md-12">活动名称</label>
                                    <div class="col-md-12">
                                        <input type="text" placeholder="" class="form-control form-control-line" name="activity_title">
                                    </div>
                                </div>
                                
                                
                                <div class="form-group">
                                    <label class="col-md-12">活动地址</label>
                                    <div class="col-md-12">
                                        <input type="text" placeholder="" class="form-control form-control-line" name="activity_site">
                                    </div>
                                </div>
                                <div class="form-group">
                                        <label class="col-md-12">起始时间</label>
                                        <div class="col-md-12">
                                            <input type="datetime-local" placeholder="" class="form-control form-control-line" name="activity_begin_time">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-12">结束时间</label>
                                        <div class="col-md-12">
                                            <input type="datetime-local"  placeholder="" class="form-control form-control-line" name="activity_end_time">
                                        </div>
                                    </div>
                                <div class="form-group">
                                    <label class="col-md-12">简介</label>
                                    <div class="col-md-12">
                                        <textarea rows="5" class="form-control form-control-line" name="activity_matter"></textarea>
                                    </div>
                                </div>
                                <div class="form-group">
                                        <label class="col-md-12">海报</label>
                                        <div class="col-md-12">
                                                <input type="file" id="inputfile" name="activity_pic[]">
                                        </div>
                                    </div>
                                <div class="form-group">
                                    <div class="col-sm-12">
                                        <button class="btn btn-success" type="submit">添加</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                <!-- Column -->
            </div>
        </div>
        
{/block}